package org.xq.mq.model;

import lombok.Data;

import java.io.Serializable;

@Data
public class RedisQueueMessage implements Serializable {
    // 消息
    private String content;

    public RedisQueueMessage() {
    }


    // 定义一个带参数的构造方法方便初始化
    public RedisQueueMessage(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "RedisQueueMessage{" +
                "content='" + content + '\'' +
                '}';
    }
}
